#include <stdio.h>
int main(void)
{
    float num;
    printf("input the float num: ");
    scanf("%f", &num);
    printf("The input is %.1f or %.1e\n", num, num);
    printf("The input is %+.3f or %.3E\n", num, num);

    return 0;
}